package fr.vincent.aquarium.metier.commun;

import java.util.List;

import org.hibernate.Session;

/**
 * Interface des DAO - D�claration des m�thodes CRUD
 * @param <T>
 */
public interface Dao<T> {
	public void save(T entity);

	public void update(T entity);

	public void delete(T entity);

	public T get(long id);

	public List<T> get();

	public void delete(long id);

	public Session getCurrentSession();
}
